<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title><?php echo ($C["webtitle"]); ?></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/style.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/index.css">
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/banner.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/Adaptive.js"></script>
</head>

<body>

<header>
	<i class="logo"></i>
    <div class="sch" >
		<form method="post"  action="<?php echo U('Index/search');?>">
			<input type="image" src="__PUBLIC__/images/icon/sch.png" style="width:0.65rem;height:0.66rem;margin-left:0.3rem;float:left;margin-top:0.17rem;" />
			<input type="text" name="ss_key" class="ss_box_input" value="搜索主播、萌星" style="font-size:0.4rem;width:4.8rem;color:#fff;padding:0.1rem;background:none;border:none;float:left;margin-top:0.17rem;">
		</form>
		<div class="clear"></div>
    </div>
	<script type="text/javascript">
	//搜索框 切换 初始提示文字
	$(function(){
		$("input.ss_box_input").focus(function(){
			if($(this).val()=="搜索主播、萌星"){
				$(this).val('');
			}
		});
		$("input.ss_box_input").blur(function(){
			if($(this).val()=="搜索主播、萌星" || $(this).val()=="" ){
				$(this).val('搜索主播、萌星');
			}
		});
	});
	</script>
	<div class="clear"></div>
</header>
	

<div id="_contain">
	<div class="banner">
		<!-- banner代码 开始 -->
		<div id="playBox">
			<div class="pre"></div>
			<div class="next"></div>
			<div class="smalltitle">
				<ul>
					<li class="thistitle"></li>
					<li></li>
					<li></li>
					<li></li>
				</ul>
			</div>
			<ul class="oUlplay">
				<?php if(is_array($jiaodian)): $i = 0; $__LIST__ = $jiaodian;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$jiaodian): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($jiaodian["url"]); ?>" title="<?php echo ($jiaodian["img_name"]); ?>"><img src="<?php echo ($jiaodian["img"]); ?>"></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
			</ul>
		</div>
		<!--banner代码 结束 -->
    </div>
</div>

<div class="menu">
	<div class="nav">
        <a href="<?php echo U('Index/rule');?>">
    	<img src="__PUBLIC__/images/menu/nav_1.png">
        <p>看攻略</p>
        </a>
    </div>
	<div class="nav">
        <a href="<?php echo U('User/baoming');?>">
    	<img src="__PUBLIC__/images/menu/nav_2.png">
        <p>抢名额</p>
        </a>
    </div>
	<div class="nav">
        <a href="<?php echo U('Index/videos');?>">
    	<img src="__PUBLIC__/images/menu/nav_3.png">
        <p>萌主播</p>
        </a>
    </div>
	<div class="nav">
        <a href="<?php echo U('User/users');?>">
    	<img src="__PUBLIC__/images/menu/nav_4.png">
        <p>爱萌宝</p>
        </a>
    </div>
</div>

<div class="index_lanmu">
    <div class="index_lanmu">
        <p>萌星网栏目介绍</p>
        <div class="index_lanmu_article">
            <p>萌星网（www.mxingtv.com）是由名赫文化2016年倾力打造的，以儿童视角看天下的网络视频节目组。即将开播的有《萌星为什么》、《小嘴美食》、《萌宝秀》等三档栏目，主要以科普知识、生活常识、旅游美食、才艺展示等为题材...<a href="<?php echo U('Index/page_art',array(aid=>1));?>">详细>></a> </p>
        </div>
    </div>
</div>

<div class="name">
    <p>超人气<sup>hot!</sup></p>
</div>

<div class="contain">
	<?php if(is_array($rq_mxing1)): $i = 0; $__LIST__ = array_slice($rq_mxing1,0,1,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rq_mxing): $mod = ($i % 2 );++$i;?><a href="<?php echo U('User/user',array(suid=>$rq_mxing[id]));?>" title="<?php echo ($rq_mxing["name"]); ?>">
			<div class="ad">
				<img class="ad_img" src="<?php echo ($rq_mxing["touxiang"]); ?>" alt="<?php echo ($rq_mxing["name"]); ?>人气排行第一">
				<img class="crown1" src="__PUBLIC__/images/index/crown1.png">
			</div>
		</a><?php endforeach; endif; else: echo "" ;endif; ?>
	<?php if(is_array($rq_mxing2)): $i = 0; $__LIST__ = array_slice($rq_mxing2,1,1,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rq_mxing): $mod = ($i % 2 );++$i;?><a href="<?php echo U('User/user',array(suid=>$rq_mxing[id]));?>" title="<?php echo ($rq_mxing["name"]); ?>">
			<div class="ad-left">
				<img class="ad_img1" src="<?php echo ($rq_mxing["touxiang"]); ?>" alt="<?php echo ($rq_mxing["name"]); ?>人气排行第二">
				<img class="crown2" src="__PUBLIC__/images/index/crown2.png">
			</div>
		</a><?php endforeach; endif; else: echo "" ;endif; ?>
	<?php if(is_array($rq_mxing3)): $i = 0; $__LIST__ = array_slice($rq_mxing3,2,1,true);if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rq_mxing): $mod = ($i % 2 );++$i;?><a href="<?php echo U('User/user',array(suid=>$rq_mxing[id]));?>" title="<?php echo ($rq_mxing["name"]); ?>">
        <div class="add-right">
            <img class="ad_img1"  src="<?php echo ($rq_mxing["touxiang"]); ?>" alt="<?php echo ($rq_mxing["name"]); ?>人气排行第三">
            <img class="crown3" src="__PUBLIC__/images/index/crown3.png">
        </div>
		</a><?php endforeach; endif; else: echo "" ;endif; ?>
</div>

<div class="name">
    <p>萌主播<sup style="font-size: 10px;">新</sup></p>
</div>

<div class="favorable">
	<?php if(is_array($sy_zhubo)): $i = 0; $__LIST__ = $sy_zhubo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sy_zhubo): $mod = ($i % 2 );++$i;?><div class="fb">
			<a href="<?php echo U('Index/videos_show',array(nid=>$sy_zhubo[id]));?>">
				<div class="fb-lt">
					<img src="<?php echo ($sy_zhubo["img"]); ?>">
					<p class="fb-name"><?php echo ($sy_zhubo["name"]); ?></p>
					<p class="price">
						<span class="discount"><?php echo ($sy_zhubo["shownum"]); ?>浏览</span>
						<span class="num"><?php echo ($sy_zhubo["zannum"]); ?>粉丝</span>
					</p>
				</div>
			</a>
		</div><?php endforeach; endif; else: echo "" ;endif; ?>
</div>
<div style="height: 1.8rem"></div>
		
<footer>
	<a href="<?php echo U('Index/index');?>">
		<?php if(ACTION_NAME=="index" || ACTION_NAME=="page_art" || ACTION_NAME=="search"){ ?>
			<div class="foot act">
		<?php }else{ ?>
			<div class="foot">
		<?php } ?>
				<p style="border-right: 1px solid #e2e2e2">首页</p>
			</div>
	</a>
	
	<a href="<?php echo U('Index/videos');?>">
		<?php if(ACTION_NAME=="videos" || ACTION_NAME=="videos_show"){ ?>
			<div class="foot act">
		<?php }else{ ?>
			<div class="foot">
		<?php } ?>
				<p style="border-right: 1px solid #e2e2e2">主播</p>
			</div>
	</a>
		
	<a href="<?php echo U('User/users');?>">
		<?php if(ACTION_NAME=="users" || ACTION_NAME=="user"){ ?>
			<div class="foot act">
		<?php }else{ ?>
			<div class="foot">
		<?php } ?>
				<p style="border-right: 1px solid #e2e2e2">萌星</p>
			</div>
	</a>
		
	<a href="<?php echo U('User/mycenter');?>">
		<?php if(ACTION_NAME=="mycenter" || ACTION_NAME=="mycenter_info" || ACTION_NAME=="baoming"){ ?>
			<div class="foot act">
		<?php }else{ ?>
			<div class="foot">
		<?php } ?>
				<p style="border-right: 1px solid #e2e2e2">我的</p>
			</div>
	</a>
		
</footer>
<script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?3580948f4d561d8d86aca8c43b8d6cac";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>


    

</body>
</html>